<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body {
            margin: 0px;
            padding: 0px;
            height: 180px;
            background-image: url(../img/login.jpg);
            background: url(/image/1.webp) no-repeat;
            background-size: 100% 100%;
            background-attachment: fixed;
        }

        form {
            margin: 180px auto;
            width: 460px;
            height: 300px;
            background-color: rgba(49, 49, 49, 0.6);
            border-radius: 20px;
            text-align: center;
            padding: 20px 20px;
            box-sizing: border-box;

        }

        b {
            color: #fff;
            font-size: 18px;
            margin-right: 5px;
        }

        input {
            width: 200px;
            height: 30px;
            margin-top: 30px;
            background-color: rgba(49, 49, 49, 0);
            outline: none;
            border-radius: 20px;
            border: #fff 2px solid;
            padding: 0 10px;
        }

        .btn {
            text-align: center;
            width: 60px;
            margin-left: 52px;
            color: #fff;
            border: #fff 2px solid;
        }
        .yk{
            display: inline-block;
            text-align: center;
            width: 60px;
            margin-left: 10px;
            color: #fff;
            border: #fff 2px solid;
            border-radius: 20px;
            padding: 5px 10px;
            box-sizing: border-box;
        }
        a {
            text-decoration: none;
            color: #808080;
            font-family: '黑体';
            font-size: 14px;
        }
        h2{
            margin: 0;
            color: #fff;
        }
        p{
            color: #fff;
            font-family: '黑体';
            font-size: 14px;
            margin-top: 35px;
            margin-left: 300px;
        }
    </style>
</head>

<body>

    <form action="/login" method="post">
        <h2>登录</h2>
        <b>账号：</b><input type="text" name="username"><br />
        <b>密码：</b><input type="password" name="password"><br />
        <input type="submit" class="btn" value="登录">
        <a class="yk" href="/yk">游客</a>
        <p>没有账号<a href="/zhuce">注册</a>一个</p>
    </form>

</body>

</html>